package com.ssy.lingxi.platform.manage.service;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.manage.api.model.vo.site.SiteSelectVO;
import com.ssy.lingxi.platform.manage.api.model.vo.site.SiteVO;
import com.ssy.lingxi.platform.manage.entity.base.Site;

import java.util.List;

/**
 * @menu 站点 - 业务处理层
 * @author fhj
 * @version 2.0.0
 * @date 2020/7/20
 */
public interface ISiteService {

    Wrapper<List<Site>> siteAll();

    Wrapper<SiteVO> details(Long id);

    Wrapper<SiteVO> queryByUrlDetails(String url);

    void initToRedis();

    Wrapper<List<SiteSelectVO>> findSiteSelect();

    Wrapper<Boolean> enableMultiTenancy(Long siteId);
}
